package com.asion.vmovie.ui.MVPContract;

import com.asion.vmovie.beans.SeriesBean;
import com.asion.vmovie.ui.MVPModel.BaseModel;
import com.asion.vmovie.ui.MVPPresenter.BasePresenter;
import com.asion.vmovie.ui.MVPView.BaseView;

/**
 * Created by asion on 16-10-18.
 */

public interface XiLieContract {

    interface Model extends BaseModel{
        void getXiLieDatas(int p,int size,OnGetXiLieData onGetXiLieData);
    }

    interface View extends BaseView<SeriesBean>{

    }

    abstract class Presenter extends BasePresenter<View,Model> {
        public abstract void getXiLieDatas(int p,int size);
    }

     interface OnGetXiLieData{
       void onGetSuccess(SeriesBean seriesBean);
        void onGetError(Throwable throwable);
    }
}
